package com.bitrate.dagger.sdk.mqtt.client;

import com.bitrate.dagger.sdk.mqtt.sender.MqttSender;

/**
 * Mqtt客户端
 */
public class MqttClient {

	private MqttSender mqttSender;

	public MqttClient(String host, String commonKey) {
		this.mqttSender = new MqttSender(host, commonKey);
	}

	public String push(String clientId, String topic, String message) {
		return this.mqttSender.push(clientId, topic, message);
	}

}
